
package com.insigma.business.qrcode.soldier._provider;




import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.PlacementPbNewsDTO;
import com.insigma.business.qrcode.soldier.dto.PlacementPbNewsInsertRequest;
import com.insigma.business.qrcode.soldier.dto.PlacementPbNewsUpdateRequest;
import com.insigma.business.qrcode.soldier.dto.SimpleApiRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.soldier.service.impl.PlacementPbNewsSearchRequest;

import java.util.List;


public interface PlacementPbNewsProvider {

    
    BasePagingResponse<List<PlacementPbNewsDTO>> searchPlacementPbNews(final PlacementPbNewsSearchRequest placementPbNewsSearchRequest);

   
    BaseResponse<PlacementPbNewsDTO> getPlacementPbNews(final BaseGetRequest baseGetRequest);

    
    BaseResponse<String> insertPlacementPbNews(final PlacementPbNewsInsertRequest placementPbNewsInsertRequest);

    
    BaseResponse<Integer> updatePlacementPbNews(final PlacementPbNewsUpdateRequest placementPbNewsUpdateRequest);

    
    BaseResponse<Integer> deletePlacementPbNews(final BaseDeleteRequest deleteRequest);
    
    BaseResponse<Integer> likeNews(SimpleApiRequest request);

    
    BaseResponse<Integer> publishNews(PlacementPbNewsUpdateRequest request);
}
